<!DOCTYPE html>
<html lang="zh-cn">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <link rel="stylesheet" href="../semantic/dist/semantic.min.css">
    <title>semantic-ui-sidebar</title>
    <style>

    </style>
</head>

<body>
    <!-- thin wide top -->
    <div class="ui very thin sidebar inverted vertical menu">
        <div class="item">
            <div class="ui blue header">首页</div>
        </div>
        <div class="item"> 课程 </div>
        <div class="item"> 关于 </div>
        <div class="item"> 联系 </div>
    </div>

    <div class="ui pusher">
        <div class="ui container">
            <div class="ui dividing header">Siderbar</div>
            <div class="ui labeled icon button">
                <i class="sidebar icon"></i>
                菜单
            </div>
        </div>
    </div>




    <script src="../node_modules/jquery/dist/jquery.min.js"></script>
    <script src="../semantic/dist/semantic.min.js"></script>
    <script>
        $('.ui.button').click(function(){
            $('.ui.sidebar')
                .sidebar({
                    transition: 'scale down'
                })
                .sidebar('toggle');
        })
    </script>
</body>

</html>
